html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}


h1, h2, h3, h4, h5, h6 {
    margin: 25px 0 15px 0;
}
h1{font-size:36px;line-height:42px}
h2{font-size:24px;line-height:30px}
h3{font-size:18px;line-height:24px}
h4{font-size:16px;line-height:22px}
h5{font-size:14px;line-height:20px}
h6{font-size:12px;line-height:18px}


.ant-margin{margin-bottom:15px}
*+.ant-margin{margin-top:15px}
.ant-margin-top{margin-top:15px!important}
.ant-margin-bottom{margin-bottom:15px!important}
.ant-margin-left{margin-left:15px!important}
.ant-margin-right{margin-right:15px!important}
.ant-margin-large{margin-bottom:50px}
*+.ant-margin-large{margin-top:50px}
.ant-margin-large-top{margin-top:50px!important}
.ant-margin-large-bottom{margin-bottom:50px!important}
.ant-margin-large-left{margin-left:50px!important}
.ant-margin-large-right{margin-right:50px!important}
.ant-margin-small{margin-bottom:5px}
*+.ant-margin-small{margin-top:5px}
.ant-margin-small-top{margin-top:5px!important}
.ant-margin-small-bottom{margin-bottom:5px!important}
.ant-margin-small-left{margin-left:5px!important}
.ant-margin-small-right{margin-right:5px!important}
.ant-margin-remove{margin:0!important}
.ant-margin-top-remove{margin-top:0!important}
.ant-margin-bottom-remove{margin-bottom:0!important}


body{
    background-color: #f5f5f5;
}


.ant-layout-aside {
    position: relative;
    min-height: 100%;
}

.ant-layout-aside .ant-layout-logo {
    width: 150px;
    height: 40px;
    line-height:40px;
    box-sizing: content-box;
    background: #333;
    border-radius: 6px;
    margin: 16px 26px 16px 26px;
    font-size: 14px;
    color: #cccccc;
    padding: 5px;
    text-align: center;
}

.ant-layout-aside .ant-layout-logo .adminlogo{
    vertical-align: middle;
}
.ant-layout-aside .ant-layout-sider {
    position: fixed;
    width: 224px;
    background: #404040;
    overflow: auto;
    padding-bottom: 24px;
    height: 100%;
    overflow-x: hidden;
}

.ant-layout-aside .ant-layout-sider > .ant-menu {
    margin-bottom: 20px;
    overflow: auto;
}

.ant-layout-aside .ant-layout-header {
    background: #FBFBFB;
    box-sizing: content-box;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #e9e9e9;
    padding: 0px 16px;
    transition: background .1s,top .1s;
}

.ant-layout-aside .ant-layout-header.edit{
    border-bottom: 1px solid #b23c22;
    background: #fb5734;
    color: #fff;
}


.ant-layout-aside .ant-layout-header a{
    height: 16px;
    line-height: 16px;
    display: inline-block;
}

.ant-layout-aside .ant-layout-header .right {
    float: right;
}
.ant-layout-aside .ant-layout-header ul li {
    display: inline-block;
    margin: 0 4px;
}

.ant-layout-aside .ant-layout-main {
    padding: 16px 0;
    background-color: #f5f5f5;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.ant-layout-aside .ant-layout-container {
    margin: 10px 16px;
}

.ant-layout-aside .ant-layout-content {
    /*background: #fff;*/
    padding: 0px;
}

.ant-layout-aside .ant-layout-footer {
    height: 64px;
    line-height: 64px;
    text-align: center;
    font-size: 12px;
    color: #999;
    background: #fff;
    border-top: 1px solid #e9e9e9;
    width: 100%;
}

.ant-menu-dark.ant-menu-inline .ant-menu-item-selected a{
    color: #fff;
}
.ant-menu-dark .ant-menu-item > a:hover{
    color: #2db7f5;
}

.ant-menu-dark.ant-menu-inline .ant-menu-item-selected> a:hover{
    color: #fff;
}


.ant-panel-box{
    margin-top: 10px;
    padding: 15px;
    background: #ffffff;
    color: #444444;
}

.ant-panel-box .ant-panel-title {
    padding-left: 6px;
    border-left: 3px solid #2db7f5;
    margin: 10px 0;
}

.ant-panel-box > div{
    margin-top: 15px;
}
.ant-btn-primary a{
    color: #fff;
}

/* 定制样式 */

.ant-advanced-search-form {
    padding: 16px 8px;
    background: #f8f8f8;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
}

/* 由于输入标签长度不确定，所以需要微调使之看上去居中 */
.ant-advanced-search-form > .row {
    position: relative;
    left: -6px;
}

.ant-advanced-search-form .ant-btn + .ant-btn {
    margin-left: 8px;
}

.text-bold{
    font-weight: 900;
}
.text-primary{
    color: #2DB7F5;
}
.text-success{
    color: #87D068;
}
.text-default{
    color: #adadad;
}
.text-warning{
    color: #ff820b;
}
.text-danger{
    color: #FF5500;
}
.text-right{
    text-align: right!important;
}
.text-center{
    text-align: center!important;
}

.ant-confirm-confirm .ant-confirm-body>.anticon, .ant-confirm-warning .ant-confirm-body>.anticon {
    color: #fa0;
}

.custom-image img {
    display: block;
}
.custom-card {
    padding: 10px 16px;
}
.custom-card p {
    color: #999;
}

#body {
    background-color: #f5f5f5;
}
#body {
    position: relative;
    height: 100%;
}
.qiniu-card,.qiniu-folder{
    position: relative;
    margin: 14px 10px 14px 10px;
    text-align: center;
    float: left;
    overflow: hidden;
    border-radius: 4px;
}
.qiniu-card .qiniu-card-box{
    display: block;
    box-shadow: none;
    width: 110px;
    height: 157px;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 4px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    color: #07d;
    text-decoration: none;
    cursor: pointer;
}

.qiniu-card-preview{
    width: 100px;
    height: 100px;
    line-height: 100px;
    font-size: 0;
    background: url("");
}
.qiniu-card-preview img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    border: none;
    vertical-align: middle;

  
}


.qiniu-card-filesize{
    color: #999;
}
.qiniu-card-time{
    margin: 3px 0;
    color: #717171;
}
.qiniu-card-hide{
    position: absolute;
    bottom: -6px;
    width: 110px;
    height: 0px;
    background-color: rgba(0,0,0,.8);
    color: #fff;
    padding: 3px 6px;
    text-align: left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    transition: height .2s,top .2s;
    line-height: 14px;
    font-weight: 900;
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
    text-overflow: ellipsis;
}
.qiniu-card:hover .qiniu-card-box{
    border: 1px solid #35b250;
}
.qiniu-card:hover .qiniu-card-hide{
    height:56px;
}
.qiniu-card.checked .qiniu-card-box{
    border: 1px solid #35b250;
}
.qiniu-card.checked:hover  .qiniu-card-hide{
    height:0px;
    transition: none;
}
.qiniu-card.checked>a{border:1px solid #35b250;box-shadow:0 1px 8px #28883d}
.qiniu-card.checked:after{
    content:'已选择';
    display: block;
    background-color:#35b250;
    color: #ffffff;
    bottom: 0;
    position: absolute;
    width: 100%;
    line-height: 26px;

}

.qiniu-card-preview-icon{
    color: #659f13;
    padding-top: 18px;
    height: 100px;
    background-color: #fbfbfb;
    border-radius: 3px;
    line-height: 30px;
}
.qiniu-card .iconfont{
    font-size: 30px;
}
.qiniu-card-preview-icon p{
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #43680c;
    font-size: 12px;
}


.file-preview,.file-uploader{
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 10px;

}
.file-preview{
    min-height: 395px;
}
.file-preview-info p{
    margin: 10px 0;
    color: #8d8d8d;
    word-break: break-all;
}
.file-preview-content{
    margin: 10px 0 20px 0;
    min-height: 100px;
    white-space: nowrap;
    text-align: center;

    color: #929292;
    word-wrap: break-word;
    overflow: hidden;
    font-size: 0;

}
.file-preview-content p{
    margin-top: 10px;
    font-size: 12px;
}
.file-preview-content img{
    max-width:100%;
    margin: 0;
    padding: 0;
      background: url("");

}



.file-preview-content .file-preview-icon{
    padding: 30px 0;
}
.file-preview-content .file-preview-icon .iconfont{
    font-size: 30px;
}
.file-preview-title{
    font-size: 16px;
    line-height: 16px;
    font-weight: 900;
    color: #dd5b54;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    margin: 10px 0;
    word-break: break-all;
}

.file-preview-buttons{
    margin-top: 10px;
}
.file-preview-buttons button{
    /*margin-right: 4px;*/
    /*margin-top: 8px;*/
}
.qiniu-card-folder{
    color: #385068;
    padding-top: 30px;
}
.qiniu-card.disabled{
    pointer-events: none;
}
.qiniu-card.disabled .qiniu-card-folder{
    color: #d3d3d3!important;
    pointer-events: none;
}

.copy-node{
    height: 1px;
    opacity: 0;
}
.ant-upload.ant-upload-drag p.ant-upload-drag-icon{
    height: 20px;
    margin-bottom: 24px;
}
.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{
    font-size: 40px;
}

/*文件上传*/
.file-uploader.file-uploader-rewrite{
    padding: 20px 0;

}